/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.moedik.classes;

/**
 *
 * @author LegACy
 */
public class FlightAirport {
    //Data

    protected int m_ID;
    protected int m_City;
    protected String m_Name;
    protected String m_City_Name;
    //Constants
    public static final String FIELD_ID = "id";
    public static final String FIELD_NAME = "name";
    public static final String FIELD_CITY = "city_id";

    public FlightAirport() {
        //Default
        m_ID = 1;
        m_City = 1;
        m_Name = "";
    }
    
    public FlightAirport(int id, int city, String name) {
        //Default
        this();

        //Set data
        m_ID = id;
        m_City = city;
        m_Name = name;
    }

    //Getters
    public int getID() {
        return m_ID;
    }

    public int getCity() {
        return m_City;
    }

    public String getName() {
        return m_Name;
    }

    //Setters
    public void setID(int id) {
        m_ID = id;
    }

    public void setCity(int city) {
        m_City = city;
    }

    public void setName(String name) {
        m_Name = name;
    }

    public String getCityName() {
        return m_City_Name;
    }

    public void setCityName(String CityName) {
        this.m_City_Name = CityName;
    }
}
